import { url } from '../../build/config'
import ajax from './ajax'

const base_url = url.base_url + '/api/qa-answer-comment';

export function getCommentList(key) {
  return ajax({
    url: `${base_url}/${key}`,
    method: 'get',
  })
}


export function commentSave(data) {
  return ajax({
    url: `${base_url}`,
    method: 'post',
    data: data,
    showMsg: true,
  })

}
